<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%
    request.setCharacterEncoding("utf-8");
    response.setCharacterEncoding("utf-8");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
    <base href="<%=basePath%>"></base>
    <title>${sessionScope.topicName} - 高级检索</title>
    <link rel="stylesheet" type="text/css" href="css/mainPageStyle.css"/>
    <link rel="stylesheet" href="css/pagination.css"/>
    <link rel="stylesheet" href="css/subPage.css"/>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.pagination.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.pagination.js"></script>
    <link href="js/jquery-ui-1.8.13/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <script src="js/jquery-ui-1.8.13/ui/jquery-ui.js"></script>
    <%@include file="../im.jsp" %>
</head>


<body>
<logic:notEmpty name="user">
    <div id="content" class="container">

        <%@include file="../top.jsp" %>
        <div class="row">
            <%@include file="../left.jsp" %>


            <div class="right col-md-10">
                <div id="right_left">
                    <html:form action="searchAction.do?method=search&st=1" method="post">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <span style="font-weight: bolder;font-size: larger;">高级搜索</span>
                                </td>
                            </tr>


                            <tr>
                                <td>
                                    站点名称
                                </td>
                                <td>
                                    <html:text property="site"></html:text>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    关键词
                                </td>
                                <td>
                                    <html:text property="title"></html:text>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    呵呵数据类型
                                </td>
                                <td>
                                    <html:select property="type">
                                        <html:option value="">all</html:option>
                                        <html:option value="news">news</html:option>
                                        <html:option value="bbs">bbs</html:option>
                                        <html:option value="blog">blog</html:option>
                                        <html:option value="weibo">weibo</html:option>
                                    </html:select>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    主题
                                </td>
                                <td>
                                    <html:select property="topicid">
                                        <html:option value="current">当前主题</html:option>
                                        <html:option value="all">全部主题</html:option>
                                    </html:select>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                    <html:submit property="submit" styleClass="btn btn-default" value="搜索"></html:submit>
                                </td>
                                <td>
                                    <html:reset property="cancel" styleClass="btn btn-default" value="重置"></html:reset>
                                </td
                            </tr>
                        </table>
                    </html:form>
                </div>
            </div>
        </div>
    </div>
</logic:notEmpty>
<logic:empty name="user">
    Access Rejected! Error 404
</logic:empty>
</body>
</html>

